package com.tjnu.losca.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author losca
 * @since 2022-02-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Goods implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer goodId;

    private String name;

    private String subtitle;

    private String image;

    private Integer price;

    @TableField("oldPrice")
    private Integer oldPrice;

    private Integer categoryId;

    @TableField("imageHost")
    private String imageHost;

    private Integer sellcount;

    private String icon;

    private String desc1;

    private String desc2;

    private String p1;

    private String p2;

    @TableField("productStock")
    private Integer productStock;

    private Integer status;

    @TableField("imageHead")
    private String imageHead;

    @TableField("imageFoot")
    private String imageFoot;

    private String pushtime;

    private Integer newhot;


}
